﻿using System;
using System.Collections.Generic;

namespace CoreProject.Model;

public partial class Good
{
    public int GId { get; set; }

    public string Name { get; set; } = null!;

    public string Content { get; set; } = null!;

    public string Images { get; set; } = null!;

    public bool UseSpec { get; set; }

    public bool UseProperty { get; set; }

    public string Unit { get; set; } = null!;

    public decimal Price { get; set; }

    public int Sales { get; set; }

    public int Sort { get; set; }

    public int GtId { get; set; }

    public bool OnSale { get; set; }

    public virtual ICollection<GoodsPropertyKey> GoodsPropertyKeys { get; set; } = new List<GoodsPropertyKey>();

    public virtual GoodsType Gt { get; set; } = null!;

    public virtual ICollection<HjqOrderDetail> HjqOrderDetails { get; set; } = new List<HjqOrderDetail>();

    public virtual ICollection<Pderxq> Pderxqs { get; set; } = new List<Pderxq>();
}
